/*
 * @Descripttion:
 * @version:
 * @Author: sueRimn
 * @Date: 2021-12-17 16:57:29
 * @LastEditors: sueRimn
 * @LastEditTime: 2021-12-22 17:02:46
 */
import Mock from "mockjs";
import Login from "./Login";
import Menu from "./menu";
const root = `${window.location.protocol}//${window.location.host}`;
Mock.mock(root + "/login/auth", "post", Login.auth);
Mock.mock(root + "/login/logout", "post", Login.logout);
Mock.mock(root + "/menu/get", "get", Menu.getMenuList);